Remove unused variables from install_deployment_kernel
authorGatis Paeglis <gatis.paeglis@theqtcompany.com>
Wed, 20 Apr 2016 14:22:36 +0000 (16:22 +0200)
committerColin Walters (automation) <walters+githubbot@verbum.org>
Wed, 20 Apr 2016 15:09:37 +0000 (15:09 +0000)
Closes: #270
Approved by: cgwalters

src/libostree/ostree-sysroot-deploy.c

index 77ecb9af125773eff9bdad6ade24aeabb82599aa..8877236562075048c1503ce2d23950a9debc1e5c 100644 (file)
@@ -1277,7 +1277,6 @@ install_deployment_kernel (OstreeSysroot   *sysroot,
   struct stat stbuf;
   const char *osname = ostree_deployment_get_osname (deployment);
   const char *bootcsum = ostree_deployment_get_bootcsum (deployment);
-  g_autoptr(GFile) bootdir = NULL;
   g_autofree char *bootcsumdir = NULL;
   g_autofree char *bootconfdir = NULL;
   g_autofree char *bootconf_name = NULL;
@@ -1293,10 +1292,6 @@ install_deployment_kernel (OstreeSysroot   *sysroot,
   g_autofree char *contents = NULL;
   g_autofree char *deployment_version = NULL;
   g_autoptr(GHashTable) osrelease_values = NULL;
-  g_autofree char *linux_relpath = NULL;
-  g_autofree char *linux_key = NULL;
-  g_autofree char *initramfs_relpath = NULL;
-  g_autofree char *initrd_key = NULL;
   g_autofree char *version_key = NULL;
   g_autofree char *ostree_kernel_arg = NULL;
   g_autofree char *options_key = NULL;